﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AllMembers.aspx.vb" Inherits="prototype.AllMembers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        font-size: xx-large;
        color: #999999;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        &nbsp;</p>
<center ><p>
        &nbsp;<span class="style1"><strong style="color: #333333"> List of Society Member's !</strong></span></p>
</center>
    <p>
        <br />
    </p><center>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" DataKeyNames="UserID" DataSourceID="SqlDataSource1" 
            ForeColor="#333333" GridLines="None" Width="651px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:ImageField DataImageUrlField="picture" HeaderText="Picture">
                    <ControlStyle Height="22px" Width="22px" />
                </asp:ImageField>
                <asp:HyperLinkField DataNavigateUrlFields="UserID" 
                    DataNavigateUrlFormatString="myprofile.aspx?UserID={0}" 
                    DataTextField="firstname" HeaderText="Name" />
                <asp:BoundField DataField="lastname" HeaderText="Last Name" 
                    SortExpression="lastname" />
                <asp:BoundField DataField="Town" HeaderText="Town" SortExpression="Town" />
                <asp:BoundField DataField="Practice" HeaderText="Practice" 
                    SortExpression="Practice" />
            </Columns>
            <EditRowStyle BackColor="#7C6F57" />
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F8FAFA" />
            <SortedAscendingHeaderStyle BackColor="#246B61" />
            <SortedDescendingCellStyle BackColor="#D4DFE1" />
            <SortedDescendingHeaderStyle BackColor="#15524A" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
            SelectCommand="SELECT * FROM [Userprofile] ORDER BY [firstname], [Town]">
        </asp:SqlDataSource>
    </p></center>
    <p>
    </p>
    <p>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/AllMembers.aspx">Return to Top</asp:HyperLink>
    </p>
</asp:Content>
